#ifndef __AT644P_USART0_H__
#define __AT644P_USART0_H__

#define FOSC0 8000000// Clock Speed
#define BAUD0 19200
#define MYUBRR0 FOSC0/16/BAUD0-1

void AT644P_USART0_init(void);
void AT644P_USART0_reg(void (*sendDone)(void), void (*receive)(uint8_t));
error_t AT644P_USART0_send(uint8_t data);

#define DRIVER_USART0_INIT() AT644P_USART0_init()
#define DRIVER_USART0_REG(x,y) AT644P_USART0_reg(x,y)
#define DRIVER_USART0_SEND(x) AT644P_USART0_send(x)

#endif // __AT644P_USART0_H__
